#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#define BUFFERSIZE 4096
int main(int argc,char *argv[])
{
    int fd=open(argv[3],O_RDONLY,0); 
    printf("%d\n", fd);
    char ch[BUFFERSIZE];
    int size = read(fd,&ch,BUFFERSIZE);
    printf("%d\n", fd);
    close(fd);
    return 0;
}
